﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;
using System.Threading.Tasks;
using SpaceNeedle.SDK.WindowsPhone.Views;
using SpaceNeedle.x6473.WindowsPhone.ViewModels;
using SpaceNeedle.x6473.WindowsPhone.Common;
using SpaceNeedle.SDK.WindowsPhone;

namespace SpaceNeedle.x6473.WindowsPhone.Views
{
    public class ExtendedSplashScreenView : ViewBase<ExtendedSplashScreenViewModel> { }
    public partial class ExtendedSplashScreen : ExtendedSplashScreenView
    {
        public ExtendedSplashScreen()
        {
            InitializeComponent();
        }

        protected override void OnNavigatedTo(System.Windows.Navigation.NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            if (NavigationService.BackStack.Count() == 1)
            {
                NavigationService.RemoveBackEntry();
            }
        }
    }
}

